package org.zhadoop.stream.api;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.zhadoop.streaming.serde.StreamSerDe;

/**
 * 序列化和反序列化相关声明
 * @author zwd
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,ElementType.FIELD})
public @interface StreamSerDeAnnoation {
	/**
	 * 映射属性值
	 */
	Class<? extends StreamSerDe> value();
}
